package com.funny.stock.user.dao.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description  
 * @Author  pengl
 * @Date 2020-05-17 
 */

@Entity
@Table ( name ="t_user_info" )
public class UserInfoDO  implements Serializable {

	private static final long serialVersionUID =  1228667697451466066L;

	/**
	 * 用户ID
	 */
   	@Column(name = "id" )
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Id
	private Long id;

	/**
	 * 名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 性别，0男性 1女性
	 */
   	@Column(name = "sex" )
	private Integer sex;

	/**
	 * 年龄
	 */
   	@Column(name = "age" )
	private Integer age;

	/**
	 * 身份证
	 */
   	@Column(name = "idcard" )
	private String idcard;

	/**
	 * 个性签名
	 */
   	@Column(name = "avatar" )
	private String avatar;

	@Column(name = "email" )
	private String email;

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getIdcard() {
		return this.idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

}
